﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
        <link href="../../../UIFramkwork/ext-2.0.2/resources/css/ext-all.css" rel="stylesheet"
        type="text/css" />
    <script src="../../../UIFramkwork/ext-2.0.2/adapter/ext/ext-base.js" type="text/javascript"></script>
    <script src="../../../UIFramkwork/ext-2.0.2/ext-all.js" type="text/javascript"></script>
     <style type="text/css">
       
    </style>
</head>
<body>
 
</body>
<script type="text/javascript">
    var btn = new Ext.Button();
    btn.setText("确定");
    btn.type = "submit";
    btn.setHandler(function () {
        Ext.Msg.alert("按钮","按钮测试","按钮效果");
    });

    btn.render(Ext.getBody());


    var btn2 = new Ext.Button({
        renderTo: Ext.getBody(),
        text: "确定2",
        type: "submit",
        handler: function () { Ext.Msg.alert("按钮2","按钮测试2","效果2"); }
    });


</script>
      
</html>
